Creates a linking target based on given target path segments.
Syntax
'Declaration
<NotNullAttribute()>
Public Overloads Shared Function Create( _
ByVal As Object, _
ByVal () As ElementPathSegment _
) As LinkingTarget
'Usage
Dim targetObject As Object
Dim targetPathSegmentArray() As ElementPathSegment
Dim value As LinkingTarget
value = LinkingTarget.Create(targetObject, targetPathSegmentArray)
Parameters
- targetObject
- The target object to be linked.
The value of this parameter cannot be null
(Nothing
in Visual Basic).
- targetPathSegmentArray
- The target path segments.
The value of this parameter cannot be null
(Nothing
in Visual Basic).
The individual elements of the parameter value cannot be null
(Nothing
in Visual Basic).
Return Value
The linking target that corresponds to given target path segments.
This method never returns null
(Nothing
in Visual Basic).
Exceptions
Requirements
Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows
See Also